package com.atguigu.lease.common.exception;

import com.atguigu.lease.common.result.ResultCodeEnum;

public class LeaseException extends RuntimeException {
    public LeaseException(ResultCodeEnum message) {
        //将Enum的信息转换成String
        super(message.getMessage());
    }
}
